cmake_minimum_required(VERSION 3.16)

project(agent LANGUAGES C)

add_executable(agent main.c ${CMAKE_SOURCE_DIR}/../builder/common.h)
target_link_libraries(agent ws2_32)
include(GNUInstallDirs)
install(TARGETS agent
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
